home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: netcom.com!cosmosis
- From: cosmosis@netcom.com (Chris Akins)
- Subject: findfirst, findnext in VC
- Message-ID: <cosmosisDnrC31.I48@netcom.com>
- Sender: cosmosis@netcom14.netcom.com
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- X-Newsreader: Forte Free Agent 1.0.82
- Date: Mon, 4 Mar 1996 19:14:06 GMT
-
- I am currently porting a large amount of code from BC 4.0 to VC 2.0.
- Most of the porting has gone fine, however there are a few snags.
- Many of our routines depend on a BC function called findfirst and
- findnext. These functions are located in the dir.h file. They
- allowed a program to pass a filename string like *.BMP or ABC??.LAN
- to findfirst(). findfirst() would return the file information for the
- first file that met the pattern (i.e. dosname, filepath, file size,
- ect.). findnext would return the next file that met the critira until
- the directory was exhausted of all matches. I need a function in VC
- that does the same thing (or at the very least returns the fullpath
- name of the matches).
-
- Thank you for any and all help.
-
- Chris Akins
-
-
-